%module my_array
%{
unsigned int *alloc_array(unsigned int num);
void free_array(unsigned int *data);
void revert(unsigned int *data, unsigned int num);
%}

unsigned int *alloc_array(unsigned int num);
void free_array(unsigned int *data);
void revert(unsigned int *data, unsigned int num);
%include "carrays.i"
%include "cdata.i"
%array_class(unsigned int, uint_array);

